# -*- coding: utf-8 -*-
"""
Created on Fri Oct  1 09:44:06 2021

@author: Administrator
"""

class Solution:
    def isUnique(self,str):
        if len(str) > len(set(str)): #重点是集合的使用，集合不算重复元素！！
            return False
        else:
            return True
        
if __name__ == "__main__":
    str = "abc"
    solution = Solution()
    print("输入的字符串是：",str)
    print("输出的结果是：",solution.isUnique(str))